package Controller;
import javax.swing.JOptionPane;



public class SystemController {

	
	public static final int MARKETING_MANAGER=4;
	public static final int MARKETING_MAN=3;
	public static final int SALES_MAN=2;
	public static final int CONTACT_WORKER=1;
	
	
	
	
	/**
	 * 
	 */
	
	
	public static int nextWorkerID = 0;
	
	
	//public static Worker currentWorker;
	
	/**
	 * @param Message
	 */
	/**
	 * @param Message
	 */
	public static void displayMessage(String Message){
		JOptionPane.showMessageDialog(null, Message, "System Message", 
				JOptionPane.INFORMATION_MESSAGE);
	}
	
	/**
	 * @param Message
	 * @return
	 */
	/**
	 * @param Message
	 * @return
	 */
	public static int displayConfirmationMessage(String Message){
		return JOptionPane.showConfirmDialog(null, Message, "System Confirmation Message", 2);
	}
	
	/**
	 * @param Message
	 */
	/**
	 * @param Message
	 */
	public static void displayErrorMessage(String Message){
		JOptionPane.showMessageDialog(null, Message, "System Error Message",
				JOptionPane.ERROR_MESSAGE);
	}
	
	}
	

